﻿using NLog;
using NurseStation;
using NurseStation.common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NurseStation.common
{
    public class LogHelper
    {
        private static NLog.ILogger log;
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static NLog.ILogger GetLogHelper()
        {
            if (log == null)
            {
                log = NLog.LogManager.GetCurrentClassLogger();
            }
            return log;
        }
    }

}
